import instance from '../utils/request'

// 抽取api 用户登录

const userLogin = ({ mobile, code }) => {
  return instance({
    url: '/v1_0/authorizations',
    method: 'post',
    data: {
      mobile,
      code
    }
  })
}
// 导出
export { userLogin }
